<script>
    var d = '<?= count($details->availability) > 0 ? json_encode($details->availability) : 0; ?>';
    var m = '<?= count($googlemap) > 0 ? json_encode($googlemap) : 0; ?>';
    var preview = '<?= isset($_GET['preview']) ? 1 : 0; ?>';
</script>

<?php $this->load->view('parts/details_top') ?>
<?php $this->load->view('parts/details_tabs') ?>
<?php $this->load->view('parts/subscripbe'); ?>
